<template>
    <view class="main" :style="{ 'background': 'url(' + background + ')'}">
		<!-- #ifndef H5 -->
		<fix-window />
		<!-- #endif -->
    </view>
</template>

<script>
	import { version } from '../../package.json'
    export default {
        data() {
            return {
				adminVersion: version,
				background:"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-e9420bcd-26cd-4faf-b47a-9949982f7c41/dcd03369-aa60-4b50-989c-2a3ee60df380.png"
			}
        },
        onLoad() {
			// #ifdef H5
			if (navigator.userAgent.indexOf('Mobile')>-1) {
			    this.background = "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-e9420bcd-26cd-4faf-b47a-9949982f7c41/dcd03369-aa60-4b50-989c-2a3ee60df380.png"
			}else{
			    this.background = "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-e9420bcd-26cd-4faf-b47a-9949982f7c41/86f49c33-ac42-4cb2-b92f-a0585a85d1ab.png"
			}
			//#endif
		},
        methods: {}
    }
</script>

<style scoped lang="scss">
	/* #ifndef H5 */
	.main {
		margin-top: 85px;
	}
	/* #endif */
	.main{
		box-sizing: border-box;
		/* #ifndef H5 */
		height: calc(100vh - 85rpx);
		/* #endif */
		/* #ifdef H5 */
		height: calc(100vh - 120rpx);
		/* #endif */
		width: 100%;
		background-size: 100% 100%!important;
	}
	/* #ifndef H5 */
	page {
		padding-top: 85px;
	}
	/* #endif */
</style>
